package com.emr.module.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.emr.common.annotation.Excel;
import com.emr.common.base.BaseEntity;

/**
 * 住院病例表 case_bed
 * 
 * @author emr
 * @date 2019-02-20
 */
public class Bed extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/**  */
	private Integer personalId;
	/** 床位号 */
	@Excel(name = "床位编号")
	private Integer personalBedid;
	/** 护士Id */
	private Integer personalHushiid;
	/** 医生id */
	private Integer personalYishengid;
	/*虚拟字符串查询用*/
	@Excel(name = "病人姓名")
	private String patientName;
	@Excel(name = "护士姓名")
	private String userName;
	@Excel(name = "医生姓名")
	private String userNames;
	

	public String getPatientName() {
		return patientName;
	}

	public void setPatientName(String patientName) {
		this.patientName = patientName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserNames() {
		return userNames;
	}

	public void setUserNames(String userNames) {
		this.userNames = userNames;
	}

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setPersonalId(Integer personalId) 
	{
		this.personalId = personalId;
	}

	public Integer getPersonalId() 
	{
		return personalId;
	}
	public void setPersonalBedid(Integer personalBedid) 
	{
		this.personalBedid = personalBedid;
	}

	public Integer getPersonalBedid() 
	{
		return personalBedid;
	}
	public void setPersonalHushiid(Integer personalHushiid) 
	{
		this.personalHushiid = personalHushiid;
	}

	public Integer getPersonalHushiid() 
	{
		return personalHushiid;
	}
	public void setPersonalYishengid(Integer personalYishengid) 
	{
		this.personalYishengid = personalYishengid;
	}

	public Integer getPersonalYishengid() 
	{
		return personalYishengid;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("personalId", getPersonalId())
            .append("personalBedid", getPersonalBedid())
            .append("personalHushiid", getPersonalHushiid())
            .append("personalYishengid", getPersonalYishengid())
            .toString();
    }
}
